// Copyright (c) 2002 Torvald Riegel. All rights reserved.
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.

package cpne;

import java.awt.*;
import java.util.*;
import javax.swing.Action;

import org.tigris.gef.base.*;
import org.tigris.gef.ui.*;

public class AppPalette extends PaletteFig
{
    public AppPalette()
        {
            super();
        }

    public void defineButtons()
        {
            // just use select and broom from PaletteFigs
            //super.defineButtons();
            add(new CmdSetMode(ModeSelect.class, "Select"));
            add(new CmdSetMode(ModeBroom.class, "Broom"));
            addSeparator();
            // 3 arg ctor: Class nodeClass, String resource, String name
            add(new CmdCreateNode(PlaceNode.class, "Node One"));
            add(new CmdCreateNode(TransitionNode.class, "Node Two"));
        }
}
